using System;
using System.Collections.Generic;
using System.Text;

namespace Kevin.Framework.Data.OrmMapping
{
    [AttributeUsage(AttributeTargets.Class|AttributeTargets.Field,AllowMultiple=false,Inherited=true)]
    public class TableMappingAttribute:System.Attribute
    {
        private string _tableName = "";

        public TableMappingAttribute(string tableName)
        {
            this._tableName = tableName;
        }

        public string TableName
        {
            get { return this._tableName; }
            set { this._tableName = value; }
        }
    }
}
